Trim

Syntax

String:Trim(text, return)

Description

Removes trailing spaces in text.

Note

None.

Example

function main() {
  Var:String myStr = "      Hello      ";
 
  String:Trim(myStr, myStr)
  Konsol:Log(myStr) //see the log for "Hello"
}
www.konsolscript.org
© 2005-2011 KonsolScript Labs | All Rights Reversed | Licensed under GNU GPL | Designed by Mj Mendoza IV
http://www.sourceforge.net